// 新增引入
// import 'virtual:uno.css'
import 'uno.css';
import { createSSRApp } from "vue";
import App from "./App.vue";
import VueAxiosHTTP from "./uni_modules/axios-http";
// import uviewPlus from 'uview-plus'
import uView from 'vk-uview-ui';
import * as Pinia from 'pinia'

const axiosConfigs = {
  //baseURL: "http://localhost:8000",
  pluginName: "http"
}

export function createApp() {
  const app = createSSRApp(App);
  app.use(Pinia.createPinia())
  app.use(uView)
  // app.use(VueAxiosHTTP, axiosConfigs)
  return {
    app,
    Pinia
  };
}
